// pinia 独立维护
import { createPinia } from "pinia";
// 引入持久化包
import piniaPluginPersistedstate from "pinia-plugin-persistedstate";

const pinia = createPinia();
// 持久化存储
pinia.use(piniaPluginPersistedstate);

export default pinia;

//仓库统一导出
// import { useUserStore } from '@/stores/user'
// export { useUserStore }

export * from "@/stores/user";
